package org.gd.hellojson.gson;

public class GsonTestUser {

    private String name;
    private String login;
    private GsonTestUser user;

    public GsonTestUser() {
    }

    public GsonTestUser(String name, String login) {
        this.name = name;
        this.login = login;

        user = new GsonTestUser();
        user.setName("sub user name");
        user.setLogin("sub user login");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }
}
